package com.wzy.portfolio.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "基金基础信息")
@Data
public class FundBaseDto {

    @Schema(description = "基金名")
    private String fundName;

    @Schema(description = "基金编号")
    private String fundCode;

    @Schema(description = "基金类型")
    private String fundType;

    @Schema(description = "近一个月收益")
    private double rate30;

    @Schema(description = "近三个月收益")
    private double rate90;

    @Schema(description = "近六个月收益")
    private double rate180;

    @Schema(description = "近一年收益")
    private double rate365;

    @Schema(description = "基金市值")
    private double fundValue;

    @Schema(description = "该基金目前的基金经理")
    private String managerName;

    @Schema(description = "该基金目前的基金经理id")
    private String managerId;

    @Schema(description = "该基金是否监控每日涨跌幅")
    private Integer monitorState;

    public FundBaseDto(String fundName, String fundCode) {
        this.fundName = fundName;
        this.fundCode = fundCode;
    }
}
